#!/bin/bash
docker stop imooc-redis
docker rm imooc-redis
current_dir=`pwd`
conf_path=${current_dir}/conf/redis.conf:/etc/redis/redis_default.conf
data_path=${current_dir}/data:/data
logs_path=${current_dir}/logs:/logs
docker run --name imooc-redis -p 6379:6379 -v ${conf_path} -v ${data_path} -d redis
